<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>顾问端 - 需求管理</title>
    <script src="https://cdn.tailwindcss.com"></script>
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
    <link rel="preconnect" href="https://fonts.googleapis.com">
    <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
    <link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap" rel="stylesheet">
    <style>
        body {
            max-width: 414px;
            margin: 0 auto;
            background: #FFFFFF;
            font-family: 'Inter', sans-serif;
        }
    </style>
</head>
<body class="bg-white">
    <!-- 导航栏 -->
    <nav class="bg-white px-6 py-4 flex items-center justify-between border-b border-gray-100">
        <div class="text-xl font-bold text-gray-900">需求管理</div>
        <i class="fas fa-filter text-gray-400 text-xl"></i>
    </nav>

    <!-- 搜索框 -->
    <div class="px-6 py-4 bg-white">
        <div class="relative">
            <i class="fas fa-search absolute left-4 top-1/2 transform -translate-y-1/2 text-gray-400"></i>
            <input type="text" placeholder="搜索需求标题、客户名称" class="w-full pl-12 pr-4 py-3 bg-gray-50 border border-gray-200 rounded-xl focus:outline-none focus:ring-2 focus:ring-indigo-500 text-sm">
        </div>
    </div>

    <!-- 筛选标签 -->
    <div class="px-6 py-3 bg-white border-b border-gray-100 overflow-x-auto">
        <div class="flex space-x-3">
            <span class="px-5 py-2 bg-indigo-600 text-white rounded-full text-sm whitespace-nowrap font-medium">全部</span>
            <span class="px-5 py-2 bg-gray-100 text-gray-600 rounded-full text-sm whitespace-nowrap">待沟通</span>
            <span class="px-5 py-2 bg-gray-100 text-gray-600 rounded-full text-sm whitespace-nowrap">已报价</span>
            <span class="px-5 py-2 bg-gray-100 text-gray-600 rounded-full text-sm whitespace-nowrap">已签约</span>
        </div>
    </div>

    <!-- 需求列表 -->
    <div class="px-6 py-5 pb-24">
        <div class="space-y-4">
            <!-- 需求卡片1 -->
            <div class="bg-gray-50 rounded-2xl p-5 shadow-sm">
                <div class="flex items-start justify-between mb-3">
                    <h3 class="text-lg font-bold text-gray-900 flex-1">系统功能优化需求</h3>
                    <span class="bg-yellow-100 text-yellow-600 text-xs px-3 py-1 rounded-full font-medium">待处理</span>
                </div>
                <div class="flex items-center space-x-2 mb-3">
                    <div class="w-8 h-8 bg-indigo-100 rounded-full flex items-center justify-center flex-shrink-0">
                        <span class="text-indigo-600 text-xs font-semibold">张</span>
                    </div>
                    <span class="text-sm text-gray-600">张先生</span>
                </div>
                <div class="flex items-center space-x-2 mb-3">
                    <span class="bg-white text-gray-600 text-xs px-3 py-1 rounded-full">功能开发</span>
                    <span class="w-2 h-2 bg-yellow-400 rounded-full"></span>
                    <span class="text-gray-500 text-xs">优先级：中</span>
                </div>
                <p class="text-gray-600 text-sm mb-4 line-clamp-2 leading-relaxed">需要优化系统的性能，提升用户体验，包括页面加载速度、数据处理效率等方面的改进...</p>
                <div class="flex items-center justify-between">
                    <span class="text-gray-400 text-xs">提交于 2024-01-15 10:30</span>
                    <button class="bg-indigo-600 text-white px-5 py-2 rounded-xl text-xs font-semibold hover:bg-indigo-700 transition">处理</button>
                </div>
            </div>

            <!-- 需求卡片2 -->
            <div class="bg-gray-50 rounded-2xl p-5 shadow-sm">
                <div class="flex items-start justify-between mb-3">
                    <h3 class="text-lg font-bold text-gray-900 flex-1">数据报表功能开发</h3>
                    <span class="bg-indigo-100 text-indigo-600 text-xs px-3 py-1 rounded-full font-medium">处理中</span>
                </div>
                <div class="flex items-center space-x-2 mb-3">
                    <div class="w-8 h-8 bg-green-100 rounded-full flex items-center justify-center flex-shrink-0">
                        <span class="text-green-600 text-xs font-semibold">王</span>
                    </div>
                    <span class="text-sm text-gray-600">王女士</span>
                </div>
                <div class="flex items-center space-x-2 mb-3">
                    <span class="bg-white text-gray-600 text-xs px-3 py-1 rounded-full">功能开发</span>
                    <span class="w-2 h-2 bg-orange-400 rounded-full"></span>
                    <span class="text-gray-500 text-xs">优先级：高</span>
                </div>
                <p class="text-gray-600 text-sm mb-4 line-clamp-2 leading-relaxed">需要开发新的数据报表功能，支持多维度数据分析和导出功能...</p>
                <div class="flex items-center justify-between text-gray-400 text-xs">
                    <span>最后更新 2024-01-16 14:20</span>
                    <span class="w-2 h-2 bg-red-500 rounded-full"></span>
                </div>
            </div>
        </div>
    </div>

    <!-- 底部导航栏 -->
    <div class="fixed bottom-0 left-0 right-0 bg-white border-t border-gray-100" style="max-width: 414px; margin: 0 auto;">
        <div class="grid grid-cols-3 py-3">
            <div class="text-center">
                <i class="fas fa-home text-gray-400 text-xl mb-1"></i>
                <div class="text-gray-400 text-xs">工作台</div>
            </div>
            <div class="text-center">
                <i class="fas fa-list text-indigo-600 text-xl mb-1"></i>
                <div class="text-indigo-600 text-xs font-medium">需求</div>
            </div>
            <div class="text-center">
                <i class="fas fa-user text-gray-400 text-xl mb-1"></i>
                <div class="text-gray-400 text-xs">我的</div>
            </div>
        </div>
    </div>
</body>
</html>
